package com.iwomy.secureplat.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 平台-短信配置
 *
 * @author pig
 * @date 2023-11-27 14:06:47
 */
@Data
@TableName("platform_sms_config")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "平台-短信配置")
public class PlatformSmsConfigEntity extends Model<PlatformSmsConfigEntity> {


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="ID")
    private Long id;

	/**
	* AccessKey ID
	*/
    @Schema(description="AccessKey ID")
    private String accessKeyId;

	/**
	* Access Key Secret
	*/
    @Schema(description="Access Key Secret")
    private String accessKeySecret;

	/**
	* 签名名称
	*/
    @Schema(description="签名名称")
    private String signatureName;

	/**
	* 模版code
	*/
    @Schema(description="模版code")
    private String templateCode;

	/**
	* SDKAPPID
	*/
    @Schema(description="SDKAPPID")
    private String sdkAppId;

	/**
	* 排序编号
	*/
    @Schema(description="排序编号")
    private Integer sortNumber;

	/**
	* 厂商标识 阿里alibaba，腾讯tencent
	*/
    @Schema(description="厂商标识 阿里alibaba，腾讯tencent")
    private String supplier;

	/**
	* 间隔时间
	*/
    @Schema(description="间隔时间")
    private Integer intervalTime;

	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建人")
    private String createBy;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 修改人
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改人")
    private String updateBy;

	/**
	* 修改时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改时间")
    private LocalDateTime updateTime;
 
	/**
	* delFlag
	*/
    @TableLogic
		@TableField(fill = FieldFill.INSERT)
    @Schema(description="delFlag")
    private String delFlag;
}